// ActivexDemoPropPage.cpp : Implementation of the CActivexDemoPropPage property page class.

#include "stdafx.h"
#include "ActivexDemo.h"
#include "ActivexDemoPropPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


IMPLEMENT_DYNCREATE(CActivexDemoPropPage, COlePropertyPage)



// Message map

BEGIN_MESSAGE_MAP(CActivexDemoPropPage, COlePropertyPage)
END_MESSAGE_MAP()



// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CActivexDemoPropPage, "ACTIVEXDEMO.ActivexDemoPropPage.1",
	0x4d595e30, 0x3d17, 0x432f, 0x88, 0x8a, 0x48, 0x69, 0x30, 0x1c, 0x25, 0x58)



// CActivexDemoPropPage::CActivexDemoPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CActivexDemoPropPage

BOOL CActivexDemoPropPage::CActivexDemoPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_ACTIVEXDEMO_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}



// CActivexDemoPropPage::CActivexDemoPropPage - Constructor

CActivexDemoPropPage::CActivexDemoPropPage() :
	COlePropertyPage(IDD, IDS_ACTIVEXDEMO_PPG_CAPTION)
{
}



// CActivexDemoPropPage::DoDataExchange - Moves data between page and properties

void CActivexDemoPropPage::DoDataExchange(CDataExchange* pDX)
{
	DDP_PostProcessing(pDX);
}



// CActivexDemoPropPage message handlers
